import java.util.Arrays;

public class Test {


    public static void main9(String[] args) {
        int[] array = {24,12,45,15,26,66,11,10,7,57,39};
        Sort.countSort(array);
        System.out.println(Arrays.toString(array));
    }

    public static void main8(String[] args) {
        int[] array = {24,12,45,15,26,66,11,10,7,57,39};
        Sort.mergeSort2(array);
        System.out.println(Arrays.toString(array));
    }

    public static void main7(String[] args) {
        int[] array = {24,12,45,15,26,66,11,10,7,57,39};
        Sort.quickSort2(array);
        System.out.println(Arrays.toString(array));
    }

    public static void main6(String[] args) {
        int[] array = {24,12,45,15,26,66,11,10,7,57,39};
        Sort.quickSort1(array);
        System.out.println(Arrays.toString(array));
    }

    public static void main5(String[] args) {
        int[] array = {24,12,45,15,26,66,11,10,7,57,39};
        Sort.bubbleSort(array);
        System.out.println(Arrays.toString(array));
    }

    public static void main4(String[] args) {
        int[] array = {24,12,45,15,26,66,11,10,7,57,39};
        Sort.heapSort(array);
        System.out.println(Arrays.toString(array));
    }

    public static void main3(String[] args) {
        int[] array = {24,12,45,15,26,66,11,10,7,57,39};
        int[] array2 = Arrays.copyOf(array, array.length);
        Sort.selectSort(array);
        Sort.selectSort2(array2);
        System.out.println(Arrays.toString(array));
        System.out.println(Arrays.toString(array2));
    }

    public static void main2(String[] args) {
        int[] array = {24,12,45,15,26,66,11,10,7,57,39};
        Sort.shellSort(array);
        System.out.println(Arrays.toString(array));
    }

    public static void main1(String[] args) {
        int[] array = {24,12,45,15,26,66,11,10,7,57,39};
        Sort.insertSort(array);
        System.out.println(Arrays.toString(array));
    }
}
